ThreadSafeObservableCollection

Ecng.Xaml

线程安全可观测到的集合, 将通知发送给指定的调度器 。

继承自: DispatcherObservableCollection<T>

构造函数

ThreadSafeObservableCollection
public ThreadSafeObservableCollection(IListEx<TItem> items)
threadSafeObservableCollection = ThreadSafeObservableCollection(items)

使用全球UI调度器和所提供的支持列表初始化新实例 。

ThreadSafeObservableCollection
public ThreadSafeObservableCollection(IDispatcher dispatcher, IListEx<TItem> items)
threadSafeObservableCollection = ThreadSafeObservableCollection(dispatcher, items)

使用指定的调度器和备份列表初始化新实例 。